package net.zjitc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("sp_order")
public class Order  {
    @TableId(type = IdType.AUTO)
    private Integer order_id;
    private Integer user_id;
    private String order_number;
    private Integer order_price;
    private String is_send;
    private String order_fapiao_title;
    private String order_fapiao_company;
    private String order_fapiao_content;
    private String consignee_addr;
    private String pay_status;
    private Integer create_time;
    private Integer update_time;
    @TableField(exist = false)
    private List<OrderGoods> goods;

    public List<OrderGoods> getGoods() {
        return goods;
    }

    public void setGoods(List<OrderGoods> goods) {
        this.goods = goods;
    }

    public void setOrderId(Integer order_id) {
        this.order_id = order_id;
    }

    public void setUserId(Integer user_id) {
        this.user_id = user_id;
    }

    public void setOrderNumber(String order_number) {
        this.order_number = order_number;
    }

    public void setOrderPrice(Integer order_price) {
        this.order_price = order_price;
    }

    public void setIsSend(String is_send) {
        this.is_send = is_send;
    }

    public void setOrderFapiaoTitle(String order_fapiao_title) {
        this.order_fapiao_title = order_fapiao_title;
    }

    public void setOrderFapiaoCompany(String order_fapiao_company) {
        this.order_fapiao_company = order_fapiao_company;
    }

    public void setOrderFapiaoContent(String order_fapiao_content) {
        this.order_fapiao_content = order_fapiao_content;
    }

    public void setConsigneeAddr(String consignee_addr) {
        this.consignee_addr = consignee_addr;
    }

    public void setPayStatus(String pay_status) {
        this.pay_status = pay_status;
    }

    public void setCreateTime(Integer create_time) {
        this.create_time = create_time;
    }

    public void setUpdateTime(Integer update_time) {
        this.update_time = update_time;
    }
}
